import http from "../request.js";

const header = { "Content-Type": "application/x-www-form-urlencoded" };
const jsonHeader = { "Content-Type": "application/json" };
// post 请求 使用 params get请求 使用 { params }
class CategoryCenter {
  constructor() {
    this.ShowlistApi = "/api/hqshop/category/Showlist"; //分类
  }
  getShowlist(params) {
    return http.post(this.ShowlistApi, {}).then((res) => res.data);
  }

}

export const CategoryCenterApi = new CategoryCenter();
